package com.tuozixuan.spring6.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

import com.tuozixuan.spring6.service.User3Service;

@Controller
public class User3Controller {

	private User3Service user3Service;
	
	@Autowired
	public User3Controller(User3Service user3Service) {
		this.user3Service = user3Service;
	}

	public void out() {
		user3Service.out();
		System.out.println("Controller层执行结束。");
	}
}
